﻿using System;

namespace WebBanDT.Web
{
    public partial class TrangChu1 : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            switch (Request.QueryString["page"])
            {
                case "login":
                    PlaceHolder1.Controls.Add(LoadControl("UserControl/Login.ascx"));
                    break;
                case "logout":
                    Session["username"] = null;
                    Response.Redirect("TrangChu.aspx");
                    break;
                case "Dangky":
                    PlaceHolder1.Controls.Add(LoadControl("UserControl/Dangky.ascx"));
                    break;
            }
        }
    }
}